.class public Lslidview/SlidFrament;
.super Landroid/support/v4/app/Fragment;
.source "SlidFrament.java"


# instance fields
.field context:Landroid/content/Context;

.field private imageView:Landroid/widget/ImageView;

.field private ll_slid:Landroid/widget/LinearLayout;

.field lp:Landroid/widget/LinearLayout$LayoutParams;

.field view:Landroid/view/View;


# direct methods
.method public constructor <init>()V
    .locals 3

    .prologue
    const/4 v2, -0x1

    .line 20
    invoke-direct {p0}, Landroid/support/v4/app/Fragment;-><init>()V

    .line 36
    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    .line 37
    const/high16 v1, 0x3f800000    # 1.0f

    invoke-direct {v0, v2, v2, v1}, Landroid/widget/LinearLayout$LayoutParams;-><init>(IIF)V

    iput-object v0, p0, Lslidview/SlidFrament;->lp:Landroid/widget/LinearLayout$LayoutParams;

    .line 20
    return-void
.end method


# virtual methods
.method public addview(Landroid/widget/ImageView;)V
    .locals 2
    .param p1, "imageView"    # Landroid/widget/ImageView;

    .prologue
    .line 56
    iget-object v0, p0, Lslidview/SlidFrament;->ll_slid:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lslidview/SlidFrament;->lp:Landroid/widget/LinearLayout$LayoutParams;

    invoke-virtual {v0, p1, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 58
    return-void
.end method

.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 2
    .param p1, "inflater"    # Landroid/view/LayoutInflater;
    .param p2, "container"    # Landroid/view/ViewGroup;
    .param p3, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 43
    invoke-virtual {p0}, Lslidview/SlidFrament;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    iput-object v0, p0, Lslidview/SlidFrament;->context:Landroid/content/Context;

    .line 44
    const v0, 0x7f03004b

    const/4 v1, 0x0

    invoke-virtual {p1, v0, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lslidview/SlidFrament;->view:Landroid/view/View;

    .line 46
    iget-object v0, p0, Lslidview/SlidFrament;->view:Landroid/view/View;

    const v1, 0x7f0c01c0

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lslidview/SlidFrament;->ll_slid:Landroid/widget/LinearLayout;

    .line 47
    iget-object v0, p0, Lslidview/SlidFrament;->imageView:Landroid/widget/ImageView;

    invoke-virtual {p0, v0}, Lslidview/SlidFrament;->addview(Landroid/widget/ImageView;)V

    .line 49
    iget-object v0, p0, Lslidview/SlidFrament;->view:Landroid/view/View;

    return-object v0
.end method

.method public setImagetView(Landroid/widget/ImageView;)V
    .locals 0
    .param p1, "imageView"    # Landroid/widget/ImageView;

    .prologue
    .line 33
    iput-object p1, p0, Lslidview/SlidFrament;->imageView:Landroid/widget/ImageView;

    .line 34
    return-void
.end method
